
using System;
using System.Text;
using System.Data;
using System.Data.Common;
using System.Collections.Generic;
using Microsoft.Practices.EnterpriseLibrary.Data;
using Microsoft.Practices.EnterpriseLibrary.Data.Sql;
using Entity;

namespace Data
{
	public class DAActividades
	{

        public static DataTable ListaActividades()
        {
            SqlDatabase sql = new SqlDatabase(Configuracion.GetConnection);
            DbCommand dbCmd = sql.GetStoredProcCommand("plst_Actividades");
            return sql.ExecuteDataSet(dbCmd).Tables[0];
        }
	}
}
      